package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 竞彩让分对象 jc_as_score
 * 
 * @author ruoyi
 * @date 2024-07-20
 */
public class JcAsScore extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 竞彩编号 */
    @Excel(name = "竞彩编号")
    private Long jcNumber;

    /** 主队排名 */
    @Excel(name = "主队排名")
    private Long homeRanking;

    /** 主场球队id */
    @Excel(name = "主场球队id")
    private Long homeId;

    /** 主场球队名称 */
    @Excel(name = "主场球队名称")
    private String homeTeam;

    /** 客场球队id */
    @Excel(name = "客场球队id")
    private Long opponentId;

    /** 客场球队名称 */
    @Excel(name = "客场球队名称")
    private String opponentTeam;

    /** 客队排名 */
    @Excel(name = "客队排名")
    private Long opponentRanking;

    /** 比赛日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "比赛日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date raceDate;

    /** 拉取数据时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "拉取数据时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date pullTime;

    /** 主队让分数 */
    @Excel(name = "主队让分数")
    private BigDecimal homeAsScore;

    /** 让分主胜赔率 */
    @Excel(name = "让分主胜赔率")
    private BigDecimal homeVictoryOdds;

    /** 让分主负赔率 */
    @Excel(name = "让分主负赔率")
    private BigDecimal homeFailureOdds;

    /** 让分平局赔率 */
    @Excel(name = "让分平局赔率")
    private BigDecimal homeDrawOdds;

    /** 类型1NBA 2英超 3西甲 4意甲 5德甲 6法甲 7中超 8J联赛 9WNBA */
    @Excel(name = "类型1NBA 2英超 3西甲 4意甲 5德甲 6法甲 7中超 8J联赛 9WNBA")
    private Long type;

    /** 是否有效 1有效 0无效 */
    @Excel(name = "是否有效 1有效 0无效")
    private Long yn;

    /** 创建人 */
    @Excel(name = "创建人")
    private String creator;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ts;

    /** 更新人 */
    @Excel(name = "更新人")
    private String modifier;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date modifyTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setJcNumber(Long jcNumber) 
    {
        this.jcNumber = jcNumber;
    }

    public Long getJcNumber() 
    {
        return jcNumber;
    }

    public void setHomeRanking(Long homeRanking) 
    {
        this.homeRanking = homeRanking;
    }

    public Long getHomeRanking() 
    {
        return homeRanking;
    }

    public void setHomeId(Long homeId) 
    {
        this.homeId = homeId;
    }

    public Long getHomeId() 
    {
        return homeId;
    }

    public void setHomeTeam(String homeTeam) 
    {
        this.homeTeam = homeTeam;
    }

    public String getHomeTeam() 
    {
        return homeTeam;
    }

    public void setOpponentId(Long opponentId) 
    {
        this.opponentId = opponentId;
    }

    public Long getOpponentId() 
    {
        return opponentId;
    }

    public void setOpponentTeam(String opponentTeam) 
    {
        this.opponentTeam = opponentTeam;
    }

    public String getOpponentTeam() 
    {
        return opponentTeam;
    }

    public void setOpponentRanking(Long opponentRanking) 
    {
        this.opponentRanking = opponentRanking;
    }

    public Long getOpponentRanking() 
    {
        return opponentRanking;
    }

    public void setRaceDate(Date raceDate) 
    {
        this.raceDate = raceDate;
    }

    public Date getRaceDate() 
    {
        return raceDate;
    }

    public void setPullTime(Date pullTime) 
    {
        this.pullTime = pullTime;
    }

    public Date getPullTime() 
    {
        return pullTime;
    }

    public void setHomeAsScore(BigDecimal homeAsScore) 
    {
        this.homeAsScore = homeAsScore;
    }

    public BigDecimal getHomeAsScore() 
    {
        return homeAsScore;
    }

    public void setHomeVictoryOdds(BigDecimal homeVictoryOdds) 
    {
        this.homeVictoryOdds = homeVictoryOdds;
    }

    public BigDecimal getHomeVictoryOdds() 
    {
        return homeVictoryOdds;
    }

    public void setHomeFailureOdds(BigDecimal homeFailureOdds) 
    {
        this.homeFailureOdds = homeFailureOdds;
    }

    public BigDecimal getHomeFailureOdds() 
    {
        return homeFailureOdds;
    }

    public void setHomeDrawOdds(BigDecimal homeDrawOdds) 
    {
        this.homeDrawOdds = homeDrawOdds;
    }

    public BigDecimal getHomeDrawOdds() 
    {
        return homeDrawOdds;
    }

    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }

    public void setYn(Long yn) 
    {
        this.yn = yn;
    }

    public Long getYn() 
    {
        return yn;
    }

    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }

    public void setTs(Date ts) 
    {
        this.ts = ts;
    }

    public Date getTs() 
    {
        return ts;
    }

    public void setModifier(String modifier) 
    {
        this.modifier = modifier;
    }

    public String getModifier() 
    {
        return modifier;
    }

    public void setModifyTime(Date modifyTime) 
    {
        this.modifyTime = modifyTime;
    }

    public Date getModifyTime() 
    {
        return modifyTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("jcNumber", getJcNumber())
            .append("homeRanking", getHomeRanking())
            .append("homeId", getHomeId())
            .append("homeTeam", getHomeTeam())
            .append("opponentId", getOpponentId())
            .append("opponentTeam", getOpponentTeam())
            .append("opponentRanking", getOpponentRanking())
            .append("raceDate", getRaceDate())
            .append("pullTime", getPullTime())
            .append("homeAsScore", getHomeAsScore())
            .append("homeVictoryOdds", getHomeVictoryOdds())
            .append("homeFailureOdds", getHomeFailureOdds())
            .append("homeDrawOdds", getHomeDrawOdds())
            .append("type", getType())
            .append("yn", getYn())
            .append("creator", getCreator())
            .append("ts", getTs())
            .append("modifier", getModifier())
            .append("modifyTime", getModifyTime())
            .toString();
    }
}
